<template>
	<view style="background-color: white;height: 100vh;">
		<view class="top">
			<image class="topimg" src="/static/img/touxiang.png" mode=""></image>
			<view class="toptext">
				修改头像
			</view>
		</view>

		<view class="box" @click="xinxi">


			<view class="box1">
				<view class="box1-1">
					<view class="box1-1texte">昵称</view>
				</view>
				<view class="box1-2">
					<view class="box1-2text">我的名称</view>
					<image src="../../static/img/youfh.png" mode=""></image>
				</view>
			</view>
			<view class="box1">
				<view class="box1-1">
					<view class="box1-1texte">性别</view>
				</view>
				<view class="box1-2">
					<view class="box1-2text"> 未知</view>
					<image src="../../static/img/youfh.png" mode=""></image>
				</view>
			</view>
			<view class="box1">
				<view class="box1-1">
					<view class="box1-1texte">手机号</view>
				</view>
				<view class="box1-2">
					<view class="box1-2text">修改</view>
					<image src="../../static/img/youfh.png" mode=""></image>
				</view>
			</view>


			<view class="" style="width: 90vw;height: 200rpx;">

			</view>
		</view>
		<view class="bottom">
			保存
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			xinxi() {
				uni.navigateTo({
					url: '/pages/center/sjxg'
				})
			}
		}
	}
</script>

<style lang="scss">
	.top {
		padding-top: 20rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.topimg {
		width: 160rpx;
		height: 160rpx;
	}

	.toptext {
		margin-top: 40rpx;
		font-size: 28rpx;
		font-family: Source Han Sans CN-Regular, Source Han Sans CN;
		font-weight: 400;
		color: #CCCCCC;
		line-height: 34rpx;
	}

	.box {
		width: 90vw;
		margin: 20rpx auto;
		background-color: white;
		border-radius: 20rpx;

		.box1 {
			width: 90vw;
			margin: 0 auto;
			padding: 20rpx 0;
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-bottom: 2rpx solid #e1e1e1;

			>image {
				width: 12rpx;
				height: 24rpx;
			}

			.box1-2 {
				display: flex;
				align-items: center;

				.box1-2text {
					font-size: 32rpx;
					font-family: Source Han Sans CN-Regular, Source Han Sans CN;
					font-weight: 400;
					color: #999999;
					line-height: 80rpx;
				}

				>image {
					margin-left: 10rpx;
					width: 12rpx;
					height: 24rpx;
				}

			}

			.box1-1 {
				display: flex;
				align-items: center;

				>image {
					width: 56rpx;
					height: 56rpx;
				}

				.box1-1texte {
					margin-left: 20rpx;
					font-size: 32rpx;
					font-weight: 400;
					font-family: SourceHanSansCN-Medium-, SourceHanSansCN-Medium;
					color: #373737;
					line-height: 36rpx;
				}


			}

		}
	}

	.bottom {
		position: fixed;
		bottom: 40rpx;
		left: 33rpx;
		width: 686rpx;
		height: 102rpx;
		background: #FF4140;
		border-radius: 0px 0px 0px 0px;
		opacity: 1;
		font-size: 34rpx;
		font-family: SourceHanSansCN-Medium-, SourceHanSansCN-Medium;
		font-weight: normal;
		color: #FFFFFF;
		text-align: center;
		line-height: 102rpx;
	}
</style>
